projects
/
util-linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e03980f
)
[PATCH 08/24] fdisk: fix --output option parsing
author
Karel Zak
<kzak@redhat.com>
Mon, 24 Oct 2022 07:57:07 +0000
(09:57 +0200)
committer
Chris Hofstaedtler
<zeha@debian.org>
Sat, 19 Nov 2022 15:48:44 +0000
(15:48 +0000)
Fixes: https://github.com/util-linux/util-linux/issues/1859
Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1022249
Signed-off-by: Karel Zak <kzak@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0008-fdisk-fix-output-option-parsing.patch
disk-utils/fdisk.c
patch
|
blob
|
history
diff --git
a/disk-utils/fdisk.c
b/disk-utils/fdisk.c
index 2bd2ef41bcd2cc75e6826abe8b11faf91a7079c2..79b904f2535efa8255f6b5579e414a1f262b9c5b 100644
(file)
--- a/
disk-utils/fdisk.c
+++ b/
disk-utils/fdisk.c
@@
-928,7
+928,7
@@
int main(int argc, char **argv)
{ "type", required_argument, NULL, 't' },
{ "units", optional_argument, NULL, 'u' },
{ "version", no_argument, NULL, 'V' },
- { "output",
no_argument,
NULL, 'o' },
+ { "output",
required_argument,
NULL, 'o' },
{ "protect-boot", no_argument, NULL, 'B' },
{ "wipe", required_argument, NULL, 'w' },
{ "wipe-partitions",required_argument, NULL, 'W' },